<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: SD Host Events</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__sd__host__macros__events.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">SD Host Events<div class="ingroups"><a class="el" href="group__group__sd__host.html">SD Host      (SD Host Controller)</a> &raquo; <a class="el" href="group__group__sd__host__macros.html">Macros</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>The constants below can be used with <a class="el" href="group__group__sd__host__interrupt__functions.html#gad4a09951afc276a483c93e5e158528f3">Cy_SD_Host_GetNormalInterruptStatus</a>, <a class="el" href="group__group__sd__host__interrupt__functions.html#ga95975e199a0669a600e2fe5ada69b892">Cy_SD_Host_ClearNormalInterruptStatus</a>, <a class="el" href="group__group__sd__host__interrupt__functions.html#ga41fa86242b7f84442e589055d3130f03">Cy_SD_Host_GetErrorInterruptStatus</a> and <a class="el" href="group__group__sd__host__interrupt__functions.html#ga1ade65f4d6a71808cf12a4b0957213a1">Cy_SD_Host_ClearErrorInterruptStatus</a> functions. </p>
<p>Each event is encoded in a separate bit, and therefore it is possible to notify about multiple events. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga40538123705e6e9daf11e538d4a03f9f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga40538123705e6e9daf11e538d4a03f9f">CY_SD_HOST_CMD_COMPLETE</a>&#160;&#160;&#160;(0x0001U)</td></tr>
<tr class="memdesc:ga40538123705e6e9daf11e538d4a03f9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command complete.  <a href="#ga40538123705e6e9daf11e538d4a03f9f">More...</a><br /></td></tr>
<tr class="separator:ga40538123705e6e9daf11e538d4a03f9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac8e73e3d93e68fd372ea1608f9d3ac7e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#gac8e73e3d93e68fd372ea1608f9d3ac7e">CY_SD_HOST_XFER_COMPLETE</a>&#160;&#160;&#160;(0x0002U)</td></tr>
<tr class="memdesc:gac8e73e3d93e68fd372ea1608f9d3ac7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transfer complete.  <a href="#gac8e73e3d93e68fd372ea1608f9d3ac7e">More...</a><br /></td></tr>
<tr class="separator:gac8e73e3d93e68fd372ea1608f9d3ac7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacbbd99af12d79fa31aa24de11394ff44"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#gacbbd99af12d79fa31aa24de11394ff44">CY_SD_HOST_BGAP</a>&#160;&#160;&#160;(0x0004U)</td></tr>
<tr class="memdesc:gacbbd99af12d79fa31aa24de11394ff44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Block gap.  <a href="#gacbbd99af12d79fa31aa24de11394ff44">More...</a><br /></td></tr>
<tr class="separator:gacbbd99af12d79fa31aa24de11394ff44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a89e4f279f6fb18c17ed697c0bbc6f7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga5a89e4f279f6fb18c17ed697c0bbc6f7">CY_SD_HOST_DMA_INTERRUPT</a>&#160;&#160;&#160;(0x0008U)</td></tr>
<tr class="memdesc:ga5a89e4f279f6fb18c17ed697c0bbc6f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">DMA Interrupt.  <a href="#ga5a89e4f279f6fb18c17ed697c0bbc6f7">More...</a><br /></td></tr>
<tr class="separator:ga5a89e4f279f6fb18c17ed697c0bbc6f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc2bf855a7080c9aa840fbcd2b80f6ba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#gafc2bf855a7080c9aa840fbcd2b80f6ba">CY_SD_HOST_BUF_WR_READY</a>&#160;&#160;&#160;(0x0010U)</td></tr>
<tr class="memdesc:gafc2bf855a7080c9aa840fbcd2b80f6ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Buffer Write is ready.  <a href="#gafc2bf855a7080c9aa840fbcd2b80f6ba">More...</a><br /></td></tr>
<tr class="separator:gafc2bf855a7080c9aa840fbcd2b80f6ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga551e4bd6950ecdbdc1b7ea27cf87725a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga551e4bd6950ecdbdc1b7ea27cf87725a">CY_SD_HOST_BUF_RD_READY</a>&#160;&#160;&#160;(0x0020U)</td></tr>
<tr class="memdesc:ga551e4bd6950ecdbdc1b7ea27cf87725a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Buffer Read is ready.  <a href="#ga551e4bd6950ecdbdc1b7ea27cf87725a">More...</a><br /></td></tr>
<tr class="separator:ga551e4bd6950ecdbdc1b7ea27cf87725a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga90d17070d26c810dc05d7460ce90385c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga90d17070d26c810dc05d7460ce90385c">CY_SD_HOST_CARD_INSERTION</a>&#160;&#160;&#160;(0x0040U)</td></tr>
<tr class="memdesc:ga90d17070d26c810dc05d7460ce90385c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Card insertion.  <a href="#ga90d17070d26c810dc05d7460ce90385c">More...</a><br /></td></tr>
<tr class="separator:ga90d17070d26c810dc05d7460ce90385c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae16d282c2c5e26342e051ce0cd01f215"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#gae16d282c2c5e26342e051ce0cd01f215">CY_SD_HOST_CARD_REMOVAL</a>&#160;&#160;&#160;(0x0080U)</td></tr>
<tr class="memdesc:gae16d282c2c5e26342e051ce0cd01f215"><td class="mdescLeft">&#160;</td><td class="mdescRight">Card removal.  <a href="#gae16d282c2c5e26342e051ce0cd01f215">More...</a><br /></td></tr>
<tr class="separator:gae16d282c2c5e26342e051ce0cd01f215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60c0e296921482616265b64da844c3e6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga60c0e296921482616265b64da844c3e6">CY_SD_HOST_CARD_INTERRUPT</a>&#160;&#160;&#160;(0x0100U)</td></tr>
<tr class="memdesc:ga60c0e296921482616265b64da844c3e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Card interrupt.  <a href="#ga60c0e296921482616265b64da844c3e6">More...</a><br /></td></tr>
<tr class="separator:ga60c0e296921482616265b64da844c3e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadfcfa52cd00a4936fcabdb86e3368e21"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#gadfcfa52cd00a4936fcabdb86e3368e21">CY_SD_HOST_FX_EVENT</a>&#160;&#160;&#160;(0x2000U)</td></tr>
<tr class="memdesc:gadfcfa52cd00a4936fcabdb86e3368e21"><td class="mdescLeft">&#160;</td><td class="mdescRight">FX event.  <a href="#gadfcfa52cd00a4936fcabdb86e3368e21">More...</a><br /></td></tr>
<tr class="separator:gadfcfa52cd00a4936fcabdb86e3368e21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bec528c248686c426e2783532f8df74"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga6bec528c248686c426e2783532f8df74">CY_SD_HOST_CQE_EVENT</a>&#160;&#160;&#160;(0x4000U)</td></tr>
<tr class="memdesc:ga6bec528c248686c426e2783532f8df74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command Queuing event.  <a href="#ga6bec528c248686c426e2783532f8df74">More...</a><br /></td></tr>
<tr class="separator:ga6bec528c248686c426e2783532f8df74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadf98eb41d8210c04c0297c7e321cbbc0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#gadf98eb41d8210c04c0297c7e321cbbc0">CY_SD_HOST_ERR_INTERRUPT</a>&#160;&#160;&#160;(0x8000U)</td></tr>
<tr class="memdesc:gadf98eb41d8210c04c0297c7e321cbbc0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error Interrupt.  <a href="#gadf98eb41d8210c04c0297c7e321cbbc0">More...</a><br /></td></tr>
<tr class="separator:gadf98eb41d8210c04c0297c7e321cbbc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f253b0098077f819ec05d721acd2d52"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga2f253b0098077f819ec05d721acd2d52">CY_SD_HOST_CMD_TOUT_ERR</a>&#160;&#160;&#160;(0x0001U)</td></tr>
<tr class="memdesc:ga2f253b0098077f819ec05d721acd2d52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command timeout error.  <a href="#ga2f253b0098077f819ec05d721acd2d52">More...</a><br /></td></tr>
<tr class="separator:ga2f253b0098077f819ec05d721acd2d52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga579147ce81ba76eaa07d21287f90369d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga579147ce81ba76eaa07d21287f90369d">CY_SD_HOST_CMD_CRC_ERR</a>&#160;&#160;&#160;(0x0002U)</td></tr>
<tr class="memdesc:ga579147ce81ba76eaa07d21287f90369d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command CRC error.  <a href="#ga579147ce81ba76eaa07d21287f90369d">More...</a><br /></td></tr>
<tr class="separator:ga579147ce81ba76eaa07d21287f90369d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga22cbc934697b006c997dbd4cc8891810"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga22cbc934697b006c997dbd4cc8891810">CY_SD_HOST_CMD_END_BIT_ERR</a>&#160;&#160;&#160;(0x0004U)</td></tr>
<tr class="memdesc:ga22cbc934697b006c997dbd4cc8891810"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command End Bit error.  <a href="#ga22cbc934697b006c997dbd4cc8891810">More...</a><br /></td></tr>
<tr class="separator:ga22cbc934697b006c997dbd4cc8891810"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga34ee07816d17bbaefca5cb73abb7ab6e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga34ee07816d17bbaefca5cb73abb7ab6e">CY_SD_HOST_CMD_IDX_ERR</a>&#160;&#160;&#160;(0x0008U)</td></tr>
<tr class="memdesc:ga34ee07816d17bbaefca5cb73abb7ab6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command Index error.  <a href="#ga34ee07816d17bbaefca5cb73abb7ab6e">More...</a><br /></td></tr>
<tr class="separator:ga34ee07816d17bbaefca5cb73abb7ab6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga11824b680cc2f5f52b65a10316ccbcc4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga11824b680cc2f5f52b65a10316ccbcc4">CY_SD_HOST_DATA_TOUT_ERR</a>&#160;&#160;&#160;(0x0010U)</td></tr>
<tr class="memdesc:ga11824b680cc2f5f52b65a10316ccbcc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Timeout error.  <a href="#ga11824b680cc2f5f52b65a10316ccbcc4">More...</a><br /></td></tr>
<tr class="separator:ga11824b680cc2f5f52b65a10316ccbcc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ca6a2cbb938f542cdab8573d3d0e652"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga5ca6a2cbb938f542cdab8573d3d0e652">CY_SD_HOST_DATA_CRC_ERR</a>&#160;&#160;&#160;(0x0020U)</td></tr>
<tr class="memdesc:ga5ca6a2cbb938f542cdab8573d3d0e652"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data CRC error.  <a href="#ga5ca6a2cbb938f542cdab8573d3d0e652">More...</a><br /></td></tr>
<tr class="separator:ga5ca6a2cbb938f542cdab8573d3d0e652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac28dc065315f2ad5b78dc14825de1caa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#gac28dc065315f2ad5b78dc14825de1caa">CY_SD_HOST_DATA_END_BIT_ERR</a>&#160;&#160;&#160;(0x0040U)</td></tr>
<tr class="memdesc:gac28dc065315f2ad5b78dc14825de1caa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data End Bit error.  <a href="#gac28dc065315f2ad5b78dc14825de1caa">More...</a><br /></td></tr>
<tr class="separator:gac28dc065315f2ad5b78dc14825de1caa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga903af8deee5dffb26bfaa8150b0e4c36"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga903af8deee5dffb26bfaa8150b0e4c36">CY_SD_HOST_CUR_LMT_ERR</a>&#160;&#160;&#160;(0x0080U)</td></tr>
<tr class="memdesc:ga903af8deee5dffb26bfaa8150b0e4c36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current Limit error.  <a href="#ga903af8deee5dffb26bfaa8150b0e4c36">More...</a><br /></td></tr>
<tr class="separator:ga903af8deee5dffb26bfaa8150b0e4c36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga967a9b8b61f2bbfedca02fc1ec3029ae"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga967a9b8b61f2bbfedca02fc1ec3029ae">CY_SD_HOST_AUTO_CMD_ERR</a>&#160;&#160;&#160;(0x0100U)</td></tr>
<tr class="memdesc:ga967a9b8b61f2bbfedca02fc1ec3029ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Auto CMD error.  <a href="#ga967a9b8b61f2bbfedca02fc1ec3029ae">More...</a><br /></td></tr>
<tr class="separator:ga967a9b8b61f2bbfedca02fc1ec3029ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac29facabf6dc150e0eb4a9078d03f854"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#gac29facabf6dc150e0eb4a9078d03f854">CY_SD_HOST_ADMA_ERR</a>&#160;&#160;&#160;(0x0200U)</td></tr>
<tr class="memdesc:gac29facabf6dc150e0eb4a9078d03f854"><td class="mdescLeft">&#160;</td><td class="mdescRight">ADMA error.  <a href="#gac29facabf6dc150e0eb4a9078d03f854">More...</a><br /></td></tr>
<tr class="separator:gac29facabf6dc150e0eb4a9078d03f854"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa40587241cf87406c83c2daa7959d8f5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#gaa40587241cf87406c83c2daa7959d8f5">CY_SD_HOST_TUNING_ERR</a>&#160;&#160;&#160;(0x0400U)</td></tr>
<tr class="memdesc:gaa40587241cf87406c83c2daa7959d8f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tuning error.  <a href="#gaa40587241cf87406c83c2daa7959d8f5">More...</a><br /></td></tr>
<tr class="separator:gaa40587241cf87406c83c2daa7959d8f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad53c96dff3576fbe34e05491f0b6bb5d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#gad53c96dff3576fbe34e05491f0b6bb5d">CY_SD_HOST_RESP_ERR</a>&#160;&#160;&#160;(0x0800U)</td></tr>
<tr class="memdesc:gad53c96dff3576fbe34e05491f0b6bb5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Response error.  <a href="#gad53c96dff3576fbe34e05491f0b6bb5d">More...</a><br /></td></tr>
<tr class="separator:gad53c96dff3576fbe34e05491f0b6bb5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94e7e75de1a9c3d2b6e621acb9819c7f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__events.html#ga94e7e75de1a9c3d2b6e621acb9819c7f">CY_SD_HOST_BOOT_ACK_ERR</a>&#160;&#160;&#160;(0x1000U)</td></tr>
<tr class="memdesc:ga94e7e75de1a9c3d2b6e621acb9819c7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boot Acknowledgement error.  <a href="#ga94e7e75de1a9c3d2b6e621acb9819c7f">More...</a><br /></td></tr>
<tr class="separator:ga94e7e75de1a9c3d2b6e621acb9819c7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga40538123705e6e9daf11e538d4a03f9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga40538123705e6e9daf11e538d4a03f9f">&#9670;&nbsp;</a></span>CY_SD_HOST_CMD_COMPLETE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CMD_COMPLETE&#160;&#160;&#160;(0x0001U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command complete. </p>
<p>In SD/eMMC mode, this event is set after detecting the end bit of a response except for Auto CMD12 and Auto CMD23. This event is not generated when the Response Interrupt is disabled. </p>

</div>
</div>
<a id="gac8e73e3d93e68fd372ea1608f9d3ac7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac8e73e3d93e68fd372ea1608f9d3ac7e">&#9670;&nbsp;</a></span>CY_SD_HOST_XFER_COMPLETE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_XFER_COMPLETE&#160;&#160;&#160;(0x0002U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transfer complete. </p>
<p>This event is set when a read/write transfer and a command with the Busy Status are completed. </p>

</div>
</div>
<a id="gacbbd99af12d79fa31aa24de11394ff44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacbbd99af12d79fa31aa24de11394ff44">&#9670;&nbsp;</a></span>CY_SD_HOST_BGAP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_BGAP&#160;&#160;&#160;(0x0004U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Block gap. </p>
<p>This event is set when both read/write transactions are stopped at the block gap due to a Stop-at-Block-Gap Request. </p>

</div>
</div>
<a id="ga5a89e4f279f6fb18c17ed697c0bbc6f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5a89e4f279f6fb18c17ed697c0bbc6f7">&#9670;&nbsp;</a></span>CY_SD_HOST_DMA_INTERRUPT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_DMA_INTERRUPT&#160;&#160;&#160;(0x0008U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DMA Interrupt. </p>
<p>This event is set if the Host Controller detects a SDMA Buffer Boundary during a transfer. For ADMA, the Host controller generates this interrupt by setting the Int field in the descriptor table. This interrupt is not generated after a Transfer Complete. </p>

</div>
</div>
<a id="gafc2bf855a7080c9aa840fbcd2b80f6ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafc2bf855a7080c9aa840fbcd2b80f6ba">&#9670;&nbsp;</a></span>CY_SD_HOST_BUF_WR_READY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_BUF_WR_READY&#160;&#160;&#160;(0x0010U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The Buffer Write is ready. </p>
<p>This event is set if the Buffer Write Enable changes from 0 to 1. </p>

</div>
</div>
<a id="ga551e4bd6950ecdbdc1b7ea27cf87725a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga551e4bd6950ecdbdc1b7ea27cf87725a">&#9670;&nbsp;</a></span>CY_SD_HOST_BUF_RD_READY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_BUF_RD_READY&#160;&#160;&#160;(0x0020U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The Buffer Read is ready. </p>
<p>This event is set if the Buffer Read Enable changes from 0 to 1. </p>

</div>
</div>
<a id="ga90d17070d26c810dc05d7460ce90385c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga90d17070d26c810dc05d7460ce90385c">&#9670;&nbsp;</a></span>CY_SD_HOST_CARD_INSERTION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CARD_INSERTION&#160;&#160;&#160;(0x0040U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Card insertion. </p>
<p>This event is set if the Card Inserted in the Present State register changes from 0 to 1. </p>

</div>
</div>
<a id="gae16d282c2c5e26342e051ce0cd01f215"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae16d282c2c5e26342e051ce0cd01f215">&#9670;&nbsp;</a></span>CY_SD_HOST_CARD_REMOVAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CARD_REMOVAL&#160;&#160;&#160;(0x0080U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Card removal. </p>
<p>This event is set if the Card Inserted in the Present State register changes from 1 to 0. </p>

</div>
</div>
<a id="ga60c0e296921482616265b64da844c3e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga60c0e296921482616265b64da844c3e6">&#9670;&nbsp;</a></span>CY_SD_HOST_CARD_INTERRUPT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CARD_INTERRUPT&#160;&#160;&#160;(0x0100U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The Card interrupt. </p>
<p>This event reflects the synchronized value of DAT[1] Interrupt Input for SD Mode </p>

</div>
</div>
<a id="gadfcfa52cd00a4936fcabdb86e3368e21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadfcfa52cd00a4936fcabdb86e3368e21">&#9670;&nbsp;</a></span>CY_SD_HOST_FX_EVENT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_FX_EVENT&#160;&#160;&#160;(0x2000U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>FX event. </p>
<p>This status is set when R[14] of the response register is set to 1 and Response Type R1/R5 is set to 0 in the Transfer Mode register. This interrupt is used with the response check function. </p>

</div>
</div>
<a id="ga6bec528c248686c426e2783532f8df74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6bec528c248686c426e2783532f8df74">&#9670;&nbsp;</a></span>CY_SD_HOST_CQE_EVENT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CQE_EVENT&#160;&#160;&#160;(0x4000U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command Queuing event. </p>
<p>This status is set if a Command Queuing/Crypto related event has occurred in eMMC/SD mode. </p>

</div>
</div>
<a id="gadf98eb41d8210c04c0297c7e321cbbc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadf98eb41d8210c04c0297c7e321cbbc0">&#9670;&nbsp;</a></span>CY_SD_HOST_ERR_INTERRUPT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_ERR_INTERRUPT&#160;&#160;&#160;(0x8000U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Error Interrupt. </p>
<p>If any of the bits in the Error Interrupt Status register are set, then this bit is set. </p>

</div>
</div>
<a id="ga2f253b0098077f819ec05d721acd2d52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2f253b0098077f819ec05d721acd2d52">&#9670;&nbsp;</a></span>CY_SD_HOST_CMD_TOUT_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CMD_TOUT_ERR&#160;&#160;&#160;(0x0001U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command timeout error. </p>
<p>In SD/eMMC Mode, this event is set only if no response is returned within 64 SD clock cycles from the end bit of the command. If the Host Controller detects a CMD line conflict, along with Command CRC Error bit, this event is set to 1, without waiting for 64 SD/eMMC card clock cycles. </p>

</div>
</div>
<a id="ga579147ce81ba76eaa07d21287f90369d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga579147ce81ba76eaa07d21287f90369d">&#9670;&nbsp;</a></span>CY_SD_HOST_CMD_CRC_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CMD_CRC_ERR&#160;&#160;&#160;(0x0002U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command CRC error. </p>
<p>A Command CRC Error is generated in SD/eMMC mode when:</p><ol type="1">
<li>A response is returned and the Command Timeout Error is set to 0 (indicating no timeout), this bit is set to 1 when detecting a CRC error in the command response.</li>
<li>The Host Controller detects a CMD line conflict by monitoring the CMD line when a command is issued. If the Host Controller drives the CMD line to level 1, but detects level 0 on the CMD line at the next SD clock edge, then the Host Controller aborts the command (stop driving CMD line) and sets this bit to 1. The Command Timeout Error is also set to 1 to distinguish a CMD line conflict. </li>
</ol>

</div>
</div>
<a id="ga22cbc934697b006c997dbd4cc8891810"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga22cbc934697b006c997dbd4cc8891810">&#9670;&nbsp;</a></span>CY_SD_HOST_CMD_END_BIT_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CMD_END_BIT_ERR&#160;&#160;&#160;(0x0004U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command End Bit error. </p>
<p>This bit is set after detecting that the end bit of a command response is 0 in SD/eMMC mode. </p>

</div>
</div>
<a id="ga34ee07816d17bbaefca5cb73abb7ab6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga34ee07816d17bbaefca5cb73abb7ab6e">&#9670;&nbsp;</a></span>CY_SD_HOST_CMD_IDX_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CMD_IDX_ERR&#160;&#160;&#160;(0x0008U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command Index error. </p>
<p>This bit is set if a Command Index error occurs in the command response in SD/eMMC mode. </p>

</div>
</div>
<a id="ga11824b680cc2f5f52b65a10316ccbcc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga11824b680cc2f5f52b65a10316ccbcc4">&#9670;&nbsp;</a></span>CY_SD_HOST_DATA_TOUT_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_DATA_TOUT_ERR&#160;&#160;&#160;(0x0010U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Data Timeout error. </p>
<p>This bit is set in SD/eMMC mode when detecting one of the following timeout conditions:</p><ul>
<li>Busy timeout for R1b, R5b type</li>
<li>Busy timeout after Write CRC status</li>
<li>Write CRC Status timeout</li>
<li>Read Data timeout. </li>
</ul>

</div>
</div>
<a id="ga5ca6a2cbb938f542cdab8573d3d0e652"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5ca6a2cbb938f542cdab8573d3d0e652">&#9670;&nbsp;</a></span>CY_SD_HOST_DATA_CRC_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_DATA_CRC_ERR&#160;&#160;&#160;(0x0020U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Data CRC error. </p>
<p>This error occurs in SD/eMMC mode after detecting a CRC error while transferring read data that uses the DAT line, after detecting the Write CRC status having a value other than 010 or when writing a CRC status timeout. </p>

</div>
</div>
<a id="gac28dc065315f2ad5b78dc14825de1caa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac28dc065315f2ad5b78dc14825de1caa">&#9670;&nbsp;</a></span>CY_SD_HOST_DATA_END_BIT_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_DATA_END_BIT_ERR&#160;&#160;&#160;(0x0040U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Data End Bit error. </p>
<p>This error occurs in SD/eMMC mode either when detecting 0 at the end bit position of read data that uses the DAT line or at the end bit position of the CRC status. </p>

</div>
</div>
<a id="ga903af8deee5dffb26bfaa8150b0e4c36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga903af8deee5dffb26bfaa8150b0e4c36">&#9670;&nbsp;</a></span>CY_SD_HOST_CUR_LMT_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CUR_LMT_ERR&#160;&#160;&#160;(0x0080U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Current Limit error. </p>
<p>The SD Host driver does not support this function, this bit is always set to 0. </p>

</div>
</div>
<a id="ga967a9b8b61f2bbfedca02fc1ec3029ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga967a9b8b61f2bbfedca02fc1ec3029ae">&#9670;&nbsp;</a></span>CY_SD_HOST_AUTO_CMD_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_AUTO_CMD_ERR&#160;&#160;&#160;(0x0100U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Auto CMD error. </p>
<p>This error status is used by Auto CMD12 and Auto CMD23 in SD/eMMC mode. This bit is set after detecting that any of the bits D00 to D05 in the Auto CMD Error Status register has changed from 0 to 1. D07 is effective in case for Auto CMD12. The Auto CMD Error Status register is valid while this bit is set to 1 and may be cleared by clearing this bit. </p>

</div>
</div>
<a id="gac29facabf6dc150e0eb4a9078d03f854"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac29facabf6dc150e0eb4a9078d03f854">&#9670;&nbsp;</a></span>CY_SD_HOST_ADMA_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_ADMA_ERR&#160;&#160;&#160;(0x0200U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ADMA error. </p>
<p>This bit is set when the Host Controller detects an error during an ADMA-based data transfer. The possible reasons for an error:</p><ul>
<li>An error response is received from the System bus;</li>
<li>ADMA3, ADMA2 Descriptors are invalid;</li>
<li>CQE Task or Transfer descriptors are invalid. When an error occurs, the state of the ADMA is saved in the ADMA Error Status register. </li>
</ul>

</div>
</div>
<a id="gaa40587241cf87406c83c2daa7959d8f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa40587241cf87406c83c2daa7959d8f5">&#9670;&nbsp;</a></span>CY_SD_HOST_TUNING_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_TUNING_ERR&#160;&#160;&#160;(0x0400U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Tuning error. </p>
<p>The SD Host driver does not support this function. </p>

</div>
</div>
<a id="gad53c96dff3576fbe34e05491f0b6bb5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad53c96dff3576fbe34e05491f0b6bb5d">&#9670;&nbsp;</a></span>CY_SD_HOST_RESP_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_RESP_ERR&#160;&#160;&#160;(0x0800U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Response error. </p>
<p>Host Controller Version 4.00 supports the response error check function to avoid overhead of the response error check by Host Driver during DMA execution. If the Response Error Check Enable is set to 1 in the Transfer Mode register, the Host Controller checks R1 or R5 response. If an error is detected in a response, this bit is set to 1. This is applicable in SD/eMMC mode. </p>

</div>
</div>
<a id="ga94e7e75de1a9c3d2b6e621acb9819c7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga94e7e75de1a9c3d2b6e621acb9819c7f">&#9670;&nbsp;</a></span>CY_SD_HOST_BOOT_ACK_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_BOOT_ACK_ERR&#160;&#160;&#160;(0x1000U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Boot Acknowledgement error. </p>
<p>This bit is set when there is a timeout for boot acknowledgement or after detecting the boot ACK status having a value other than 010. This is applicable only when boot acknowledgement is expected in eMMC mode. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
